import request from '@/utils/request'

export function getContractList(data) {
  return request({
    url: '/contract/getContractList',
    method: 'post',
    data
  })
}

export function getContractData(data) {
  return request({
    url: '/contract/getContractData',
    method: 'post',
    data
  })
}

export function addContract(data) {
  return request({
    url: '/contract/addContract',
    method: 'post',
    data
  })
}

export function editContract(data) {
  return request({
    url: '/contract/editContract',
    method: 'post',
    data
  })
}

export function addContractAttach(data) {
  return request({
    url: '/contract/addContractAttach',
    method: 'post',
    data
  })
}

export function delContractAttach(data) {
  return request({
    url: '/contract/delContractAttach',
    method: 'post',
    data
  })
}
